<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","head"); ?>
<style>
.news_list ul li{padding:0px;margin-top:15px;}
.news_list li .ind_news_main h3 a{color:#ccc;}
.news_list li .ind_news_main h3 a:hover{color:#fff;}
.news_list li .ind_news_main .assist{font-size:14px;}
.news_list li .ind_news_main{width:790px;}
.news_list li .ind_news_main .date{font-size:14px;color:#999;}
</style>
<div class="container">
    <div class="mainOut">
        <div class="main public_2col">
            
            <div class="main_right grid_84 ov_h">
                <!-- InstanceBeginEditable name="EditRegion5" -->
                <div class="alltitle">
                  <span class="crumbs">
                    您的位置： <a href="<?php echo siteurl($siteid);?>" title="首页">首页</a>
                    &nbsp;>&nbsp;<?php echo catpos($catid, $s = ' > ');?>&nbsp;
                </span>
                </div>
                <div class="news_list right_main pt25 pb15">
                    <ul class="ind_news_list grid">
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a1d4f602c4e67067eed99d96adc186dc&action=lists&catid=%24catid&num=4&page=%24_GET%5Bpage%5D&order=updatetime+DESC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 4;$page = intval($_GET[page]) ? intval($_GET[page]) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>$catid,'order'=>'updatetime DESC','moreinfo'=>'1','limit'=>$offset.",".$pagesize,'action'=>'lists',));if(ceil($content_total/$pagesize) < $page){ob_end_clean();header("HTTP/1.1 404 Not Found");header("Status: 404 Not Found");include template("content", "404");ob_end_flush();exit;}$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>$catid,'order'=>'updatetime DESC','moreinfo'=>'1','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
                        <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                        <li>
                            <div class="ind_news_pic"><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_self" class=""><img src="<?php if($r[thumb]) { ?><?php echo $r['thumb'];?><?php } else { ?>/statics/images/nnews.jpg<?php } ?>" title="" alt="<?php echo $r['title'];?>" class=""  /></a></div>
                            <div class="ind_news_main floatR">
                                <h3 class="ind_news_title"><a href="<?php echo $r['url'];?>" target="_self"><?php echo $r['title'];?></a></h3>
                                <p class="assist"><?php echo str_cut(strip_tags($r[content]),250);?></p>
                                <span class="date"><?php echo date("Y-m-d",$r[updatetime]);?></span>
                            </div>
                        </li>
                        <?php $n++;}unset($n); ?>
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    </ul>
                    <div class="clear"></div>
                    <div class="pageGuide">
                        <div class="paging">
                            <?php echo $pages;?>
                        </div>
                    </div>
                </div>
            </div>
            <!--End right-->
			<div class="main_left grid_23 floatR ov_h">
                <div class="classify">
                   
					                    <h3>
                        新闻资讯
                        <p>NEWS CENTER</p>
                    </h3>
                    <ul>
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=bb1a89bf17ca51468446988fb6260a3d&action=category&catid=5&order=listorder+asc\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'5','order'=>'listorder asc','limit'=>'20',));}?>
                        <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                        <li  class="current">
                            <a href="<?php echo $r['url'];?>" title="<?php echo $r['catname'];?>" target="_self" class="<?php if($catid==$r[catid]) { ?>cur<?php } ?>"><?php echo $r['catname'];?></a>
                        </li>
                        <?php $n++;}unset($n); ?>
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    </ul>
                </div>
                <?php include template("content","right"); ?>
            </div>
            <!--End left-->
        </div>
        <!--End main-->
    </div>
</div>
<!--版权-->
<?php include template("content","foot"); ?>

